<div class="panel-body">
    <div class="col-sm-12">
        <div class="panel panel-default">
            <div class="panel-heading font-bold" style="text-align: right;">
                <select class="input-sm form-control w-sm inline v-middle" ng-model="info.selectedItem"
                        ng-change="sltExpression()" ng-if="info.isEdit">
                    <option value="default">请选择</option>
                    <option value="table">table</option>
                    <option value="tab-table">tab-table</option>
                    <option value="form">form</option>
                    <option value="text-form">text-form</option>
                    <option value="flow">flow</option>
                </select>
                <button class="btn btn-xs btn-success" ng-if="info.isEdit" ng-click="saveExpression()">保存</button>
                <button class="btn btn-xs btn-danger" ng-if="info.isEdit" ng-click="clearExpression()">清空</button>
                <button class="btn btn-xs btn-default" ng-if="info.isEdit" ng-click="cancelExpression()">取消</button>
                <button class="btn btn-xs btn-info" ng-if="!info.isEdit" ng-click="editExpression()">编辑</button>
            </div>
            <div class="panel-body">
                <div ng-if="info.isEdit">
                    <textarea class="form-control" rows="10" ng-model="info.expression"></textarea>
                </div>
                <div ng-if="!info.isEdit">
                    <div ng-if="!info.expressionData">暂无数据！</div>
                    <div ng-repeat="trans in info.expressionData track by $index" ng-if="info.expressionData">
                        <m-transform-content trans-type="trans.type" trans-data="trans.data"></m-transform-content>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>